book = "the hitchhiker's guide to the galaxy"
booklist = list(book)
booklist

print(booklist[0:3])
print(''.join(booklist[0:3]))
print(''.join(booklist[-6:]))  # 转换成字符串

print(''.join(booklist[4:14])) # 取出单词 "hitchhiker"
print(''.join(booklist[13:3:-1])) # 取出单词 "hitchhiker"  但是是倒叙

